
<?php

error_reporting(0);
set_time_limit(0);
// Please leave this :)
echo '<title>Check Target Panel</title>';
$target = $_POST['t4rg3t'];
$go = $_POST['g0'];
$timeout = "10";
// Ports :D
$cpanel1   = 2082;
$cpanel2   = 2083;
$kloxo1   = 7778;
$kloxo2   = 7777;
$direct   = 2222;
$plesk1   = 8443;
$plesk2   = 587;
$plesk3   = 8880;
$plesk4   = 8447;
// GUI :P
echo '<center><br /><h2>Check Target Panel </b>';
echo '<form action="' .$_SERVER["PHP_SELF"]. '" method="POST">
<br /><br /><input type="text" name="t4rg3t" value="Enter Target IP" >
<br /><input type="submit" name="g0" value="Scan It :D" >
</form>
';
if(isset($go)){
if(isset($target) && $target != null){
#if(!is_numeric($target)){ die("<br /><br /><h3>Target Must Be Numeric!.</h3>"); }
 $cpanelcheck1 =  @fsockopen("$target", $cpanel1, $errno, $errstr, $timeout);
 $cpanelcheck2 =  @fsockopen("$target", $cpanel2, $errno, $errstr, $timeout);
 $kloxocheck1 =  @fsockopen("$target", $kloxo1, $errno, $errstr, $timeout);
 $kloxocheck2 =  @fsockopen("$target", $kloxo2, $errno, $errstr, $timeout);
 $directcheck =  @fsockopen("$target", $direct, $errno, $errstr, $timeout);
 $pleskcheck1 =  @fsockopen("$target", $plesk1, $errno, $errstr, $timeout);
 $pleskcheck2 =  @fsockopen("$target", $plesk2, $errno, $errstr, $timeout);
 $pleskcheck3 =  @fsockopen("$target", $plesk3, $errno, $errstr, $timeout);
 $pleskcheck4 =  @fsockopen("$target", $plesk4, $errno, $errstr, $timeout);
  if($cpanelcheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a CPanel !</font><h2><br />";
  } elseif($cpanelcheck2) {
    echo "<br /><br /><h2><font color='green'>Target Has a CPanel !</font><h2><br />";
  } elseif($kloxocheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a Kloxo Panel !</font><h2><br />";
  } elseif($kloxocheck2) {
    echo "<br /><br /><h2><font color='green'>Target Has a Kloxo Panel !</font><h2><br />";
  } elseif($directcheck) {
    echo "<br /><br /><h2><font color='green'>Target Has a Direct Admin Panel !</font><h2><br />";
  } elseif($pleskcheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a Plesk Panel !</font><h2><br />";
  } elseif($pleskcheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a Plesk Panel !</font><h2><br />";
  } elseif($pleskcheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a Plesk Panel !</font><h2><br />";
  } elseif($pleskcheck1) {
    echo "<br /><br /><h2><font color='green'>Target Has a Plesk Panel !</font><h2><br />";
  } else { die("<br /><br /><h2><font color='red'>No Panel Has Been Detected!!.</font></h2>"); }
} else{ die("<br /><br /><h3>Plz Enter An IP!.</h3>"); }}
?>
